package com.cbt.cbtBlog.bean;

import java.util.Objects;

public class MessageInfo {
   private String id;
   private String content;
   private String createTime;
   private String define1;
   private String define2;
   private String define3;

   public String getId() {
      return this.id;
   }

   public void setId(String id) {
      this.id = id;
   }

   public String getContent() {
      return this.content;
   }

   public void setContent(String content) {
      this.content = content;
   }

   public String getCreateTime() {
      return this.createTime;
   }

   public void setCreateTime(String createTime) {
      this.createTime = createTime;
   }

   public String getDefine1() {
      return this.define1;
   }

   public void setDefine1(String define1) {
      this.define1 = define1;
   }

   public String getDefine2() {
      return this.define2;
   }

   public void setDefine2(String define2) {
      this.define2 = define2;
   }

   public String getDefine3() {
      return this.define3;
   }

   public void setDefine3(String define3) {
      this.define3 = define3;
   }

   public boolean equals(Object o) {
      if (this == o) {
         return true;
      } else if (o != null && this.getClass() == o.getClass()) {
         MessageInfo that = (MessageInfo)o;
         return Objects.equals(this.id, that.id) && Objects.equals(this.content, that.content) && Objects.equals(this.createTime, that.createTime) && Objects.equals(this.define1, that.define1) && Objects.equals(this.define2, that.define2) && Objects.equals(this.define3, that.define3);
      } else {
         return false;
      }
   }

   public int hashCode() {
      return Objects.hash(new Object[]{this.id, this.content, this.createTime, this.define1, this.define2, this.define3});
   }

   public String toString() {
      return "MessageInfo{id='" + this.id + '\'' + ", content='" + this.content + '\'' + ", createTime='" + this.createTime + '\'' + ", define1='" + this.define1 + '\'' + ", define2='" + this.define2 + '\'' + ", define3='" + this.define3 + '\'' + '}';
   }

   public MessageInfo(String id, String content, String createTime, String define1, String define2, String define3) {
      this.id = id;
      this.content = content;
      this.createTime = createTime;
      this.define1 = define1;
      this.define2 = define2;
      this.define3 = define3;
   }

   public MessageInfo() {
   }
}
